package java8_4;

/**
 * @author oldliu
 * @since 1.0
 */
public class IntFanwei {
    public static void main(String[] args) {
        //int i0=1000000000000;
        double d0=1000000000000.0;
        int i=100000;
        float f=i;
        double d=i;
        System.out.println(f);
        System.out.println(d);
        System.out.println(">>>>>>>>>>>>>>>>>>>");
        double d3=10.9999;
        int i2=(int)d3;
        System.out.println("i2="+i2);
        d3=10000000000000000000000000000000000.0;
        i2=(int)d3;
        System.out.println("i2="+i2);
        long d4=1000000000000000000L;
        int i3=(int)d4;
        System.out.println("i3="+i3);





        System.out.println(">>>>>------char-------------->>>>>");
        char c='C';
        int i4=c;
        System.out.println(i4);
        char c2='刘';
        int i5=c2;
        System.out.println(i5);
        char c3='馕';
        System.out.println((int)c3);
        int j=97;
        char c4=(char)j;
        System.out.println(c4);
        j=21015;
        c4=(char)j;
        System.out.println(c4);
    }
}
